package cn.stylefeng.guns.modular.tool.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.tool.entity.ToolBasicPackInstall;
import cn.stylefeng.guns.modular.tool.model.params.ToolBasicPackInstallParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolBasicPackInstallResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 包材重量设置 服务类
 */
public interface ToolBasicPackInstallService extends IService<ToolBasicPackInstall> {

    /**
     * 新增
     *
     * @author 
     * @Date 2022-07-29
     */
    void add(ToolBasicPackInstallParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2022-07-29
     */
    void delete(ToolBasicPackInstallParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2022-07-29
     */
    void update(ToolBasicPackInstallParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2022-07-29
     */
    ToolBasicPackInstallResult findBySpec(ToolBasicPackInstallParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2022-07-29
     */
    List<ToolBasicPackInstallResult> findListBySpec(ToolBasicPackInstallParam param,Long operateId);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2022-07-29
     */
     LayuiPageInfo findPageBySpec(ToolBasicPackInstallParam param,String condition,Long operateId);

}
